.person{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    .top {
        flex: 4;
        display: flex;
        flex-direction: row;
        align-items: center;
        .intro-card {
            width: 192px;
            height: 225.6px;
            border-radius: 15px;
            background-color: white;
            box-shadow: 0px 2px 4px rgba(185, 163, 255, 0.47);
            margin-left: 8px;
            margin-right: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            .avartar{
                width: 117.6px;
                height: 117.6px;
                border-radius: 50%;
                margin-top: 10px;
                img{
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                }
            }
            .name{
                width: 67.6px;
                height: 28px;
                font-size: 22px;
                font-weight: 500;
            }
            .details{
                display: flex;
                flex-direction: column;
                font-size: 11px;
                font-weight: 400;
                color: rgb(56, 56, 56);
                .up{
                    display: flex;
                    flex-direction: row;
                    .status{
                        width: 44.8px;
                        height: 11.856px;
                    }
                    .subject{
                        width: 30.4px;
                        height: 11.856px;
                    }
                }
                .down{
                    width: 78px;
                    height: 12px;
                }
            }
        }
    }
    .under {
        flex: 6;
        .title {
            width: 144px;
            height: 53px;
            font-size: 32px;
            font-weight: 700;
            color: rgb(121, 72, 234);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .history{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 1228.5px;
            height: 429px;
            border-radius: 20px;
            background-color: white;
            box-shadow: 0px 2px 4px rgb(0, 0, 0);
            margin-left: 15px;
            margin-top: 10px;
            .board{
                display: flex;
                flex-direction: row;
                width: 100%;
                height: 80%;
            }
        }
        .history-unactive{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 1228.5px;
            height: 200px;
            border-radius: 20px;
            background-color: white;
            box-shadow: 0px 2px 4px rgb(0, 0, 0);
            margin-left: 15px;
            margin-top: 30px;
            .board{
                display: flex;
                flex-direction: row;
                align-items: center;
                width: 100%;
                height: 80%;
            }
            .no-more{
                width: 128px;
                height: 24px;
                font-size: 16px;
                font-weight: 400;
                color: rgb(166, 166, 166);
                margin-left: 30px;
            }
        }
    }
    .bottom{
        flex: 6;
        .bottom-title{
            width: 144px;
            height: 53px;
            font-size: 32px;
            font-weight: 700;
            color: rgb(121, 72, 234);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .no-chat{
            width: 143px;
            height: 24px;
            font-size: 16px;
            font-weight: 400;
            color: rgb(157, 124, 241);
            margin-left: 60px;
            margin-top: 40px;
        }
    }
}

.person-active{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60%;
    .top {
        flex: 4;
        display: flex;
        flex-direction: row;
        align-items: center;
        .intro-card {
            width: 192px;
            height: 225.6px;
            border-radius: 15px;
            background-color: white;
            box-shadow: 0px 2px 4px rgba(185, 163, 255, 0.47);
            margin-left: 8px;
            margin-right: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            .avartar {
                width: 117.6px;
                height: 117.6px;
                border-radius: 50%;
                margin-top: 10px;
                img {
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                }
            }
            .name {
                width: 67.6px;
                height: 28px;
                font-size: 22px;
                font-weight: 500;
            }
            .details {
                display: flex;
                flex-direction: column;
                font-size: 11px;
                font-weight: 400;
                color: rgb(56, 56, 56);
                .up {
                    display: flex;
                    flex-direction: row;
                    .status {
                        width: 44.8px;
                        height: 11.856px;
                    }
                    .subject {
                        width: 30.4px;
                        height: 11.856px;
                    }
                }
                .down {
                    width: 78px;
                    height: 12px;
                }
            }
        }
    }
    .under {
        flex: 5;
        .title {
            width: 144px;
            height: 53px;
            font-size: 32px;
            font-weight: 700;
            color: rgb(121, 72, 234);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .history {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 1228.5px;
            height: 229px;
            border-radius: 20px;
            background-color: white;
            box-shadow: 0px 2px 4px rgb(0, 0, 0);
            margin-left: 15px;
            margin-top: 10px;
            .board {
                display: flex;
                flex-direction: row;
                width: 100%;
                height: 80%;
            }
        }
        .history-unactive {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 1228.5px;
            height: 200px;
            border-radius: 20px;
            background-color: white;
            box-shadow: 0px 2px 4px rgb(0, 0, 0);
            margin-left: 15px;
            margin-top: 30px;
            .board {
                display: flex;
                flex-direction: row;
                align-items: center;
                width: 100%;
                height: 80%;
            }
            .no-more {
                width: 128px;
                height: 24px;
                font-size: 16px;
                font-weight: 400;
                color: rgb(166, 166, 166);
                margin-left: 30px;
            }
        }
    }
    .bottom {
        flex: 6;
        .bottom-title {
            width: 144px;
            height: 53px;
            font-size: 32px;
            font-weight: 700;
            color: rgb(121, 72, 234);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .chat-history{
            display: flex;
            flex-direction: row;
            width: 100%;
            height: 100%;
            align-items: flex-start;
            justify-content: center;
            margin-top: 20px;
            .chat-item{
                flex-basis: 25%;
                .chat-img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}